package com.github.shiqiyue.app.api.sapi.req.department;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/***
 * 部门添加 请求参数
 * @author wenyao.wu
 */
@Data
public class DepartmentAddReq {

    /**
     * 名称
     */
    @NotEmpty
    private String name;


    @NotNull
    private Long pid;
}
